package com.yanze.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import javax.persistence.*;

public class Booksecond {
    @Id
    private Long bookid;

    private Float price;

    private String contact;

    private String userid;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss a", locale = "zh", timezone = "GMT+8")
    private Date time;

    private String bookname;

    private String bookdescribe;

    private String place;

    private String images;

    /**
     * @return bookid
     */
    public Long getBookid() {
        return bookid;
    }

    /**
     * @param bookid
     */
    public void setBookid(Long bookid) {
        this.bookid = bookid;
    }

    /**
     * @return price
     */
    public Float getPrice() {
        return price;
    }

    /**
     * @param price
     */
    public void setPrice(Float price) {
        this.price = price;
    }

    /**
     * @return contact
     */
    public String getContact() {
        return contact;
    }

    /**
     * @param contact
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * @return userid
     */
    public String getUserid() {
        return userid;
    }

    /**
     * @param userid
     */
    public void setUserid(String userid) {
        this.userid = userid;
    }

    /**
     * @return time
     */
    public Date getTime() {
        return time;
    }

    /**
     * @param time
     */
    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * @return bookname
     */
    public String getBookname() {
        return bookname;
    }

    /**
     * @param bookname
     */
    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    /**
     * @return bookdescribe
     */
    public String getBookdescribe() {
        return bookdescribe;
    }

    /**
     * @param bookdescribe
     */
    public void setBookdescribe(String bookdescribe) {
        this.bookdescribe = bookdescribe;
    }

    /**
     * @return place
     */
    public String getPlace() {
        return place;
    }

    /**
     * @param place
     */
    public void setPlace(String place) {
        this.place = place;
    }

    /**
     * @return images
     */
    public String getImages() {
        return images;
    }

    /**
     * @param images
     */
    public void setImages(String images) {
        this.images = images;
    }
}